﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class Student
    {
        public string swk { get; set; }
        public string zbj { get; set; }
        public string shs { get; set; }
        public string blm { get; set; }

        public static string teacher { get; set; }
        static Student()
        {
            teacher = "唐僧";
        }
        public void  a( )
        {
            Console.WriteLine("大家好，我叫{0}，俺的老师是{1}",this.swk, teacher);
            Console.WriteLine("大家好，我叫{0}，俺的老师是{1}", this.zbj, teacher);
            Console.WriteLine("大家好，我叫{0}，俺的老师是{1}", this.shs, teacher);
            Console.WriteLine("大家好，我叫{0}，俺的老师是{1}", this.blm, teacher);
        }

    }
}
